import layout from '@/layout'
export default {
  path: '/salary',
  name: 'salary',
  component: layout,
  children: [{
    path: '',
    name: 'salary',
    component: () => import('@/views/salary'),
    meta: {
      title: '工资',
      icon: 'money'
    }
  }, {
    path: 'setting',
    name: 'setting',
    component: () => import('@/views/salary/setting'),
    meta: {
      title: '设置',
      icon: 'money'
    },
    hidden: true
  }, {
    path: 'report/:month?',
    name: 'report',
    component: () => import('@/views/salary/report'),
    meta: {
      title: '报表',
      icon: 'money'
    },
    hidden: true
  }, {
    path: 'detail/:userId?/:yearMonth?',
    name: 'detail',
    component: () => import('@/views/salary/detail'),
    meta: {
      title: '工资详情',
      icon: 'info'
    },
    hidden: true
  }]
}
